package com.lijiajia.cloud.authserver.service;

import com.lijiajia.cloud.authserver.pojo.mongodb.Menu;

import java.util.Collection;
import java.util.List;
import java.util.Optional;

/**
 * 菜单服务
 *
 * @author lijiajia
 * @since 2019-4-28
 */
public interface MenuService {
    List<Menu> find();

    Optional<Menu> findById(Long id);

    List<Menu> findByIds(Collection<Long> ids);

}
